#pragma once
//============================================================================
// Copyright (C) 2013 Brett R. Jones
//
// Issued to public domain 2013
//
// brettjones1900@gmail.com
// http://www.p2panarchy.com
//============================================================================

#include "VxDefs.h"

#pragma pack(push) 
#pragma pack(1)

//! 1 byte in size
class VxRelayFlags
{
public:
	//=== vars ===//
	U8		m_u8RelayFlags;

	//=== constructor ===//
	VxRelayFlags();

	//! return true if has any proxies
	bool	hasRelayFlags( void );
	//! return true if has any proxies
	bool	hasRelay( void );
	//! set has image files
	void	setHasRelay( bool bHasRelay );
	//! return true if has any shared files
	bool	requiresRelay( void );
	//! set requires proxy
	void	setRequiresRelay( bool bRequiresRelay );
	//! return true if has any shared files
	bool	isMyPreferedRelay( void );
	//! set requires proxy
	void	setIsMyPreferedRelay( bool bRequiresRelay );
};

#pragma pack(pop)